package com.yun.test.circularDependency.generalProcess.bean;

import com.yun.test.circularDependency.generalProcess.ServiceTest;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: fxy
 * @Date: 2022/11/16/9:27
 * @Description:
 */
@Service
public class ClassA {

	@Resource
	@Lazy
	private ServiceTest serviceTest;

	@Resource
	private ClassB classB;

	public ClassB getClassB() {
		return classB;
	}

	public ServiceTest getServiceTest() {
		return serviceTest;
	}
}
